package com.jt.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.List;

/**
 * 部门表
 */
@Data
public class Dept extends ZdTime {
    @TableId
    private String id;

    @TableField(value = "dept_name")
    private String deptName;

    @TableField(value = "xzdm")
    private String xzdm;

    @TableField(value = "parentId")
    private String parentId;

    @TableField(exist = false)
    private List<Dept> children;

}
